core: Fix build with glib 2.30
authorColin Walters <walters@verbum.org>
Mon, 14 Nov 2011 20:26:45 +0000 (15:26 -0500)
committerColin Walters <walters@verbum.org>
Mon, 14 Nov 2011 20:26:45 +0000 (15:26 -0500)
ostree/ot-builtin-remote.c

index 7bb39fb5a5caa32baa91525edb77fc45b828a287..f9d4a2ce9cfdb04539ab18fa698607e0e44829d1 100644 (file)
@@ -97,7 +97,7 @@ ostree_builtin_remote (int argc, char **argv, const char *repo_path, GError **er
   if (context)
     g_option_context_free (context);
   if (config)
-    g_key_file_unref (config);
+    g_key_file_free (config);
   g_clear_object (&repo);
   g_clear_object (&checkout);
   return ret;